package com.sias.service.impl;

import com.sias.domain.User;
import com.sias.mapper.UserMapper;
import com.sias.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 123
 * @description 针对表【user】的数据库操作Service实现
 * @createDate 2023-05-31 11:42:45
 */
@Service
public class UserServiceImpl implements UserService {

  @Autowired
  UserMapper userMapper;

  @Override
  public User getUserById(int id) {
    return userMapper.getById(id);
  }
}
